import request from '@/utils/request'
import {routes} from '@/router/testRouter'
// 获取路由
export const getRouters = () => {
  // return request({
  //   url: '/getRouters',
  //   method: 'get'
  // })
  return new Promise(resolve=>{
    resolve({data:routes})
    // resolve({data:routes})
  })
}